[SVM] Use svm_long_mode_enabled() when checking if guest is in long mode
authorTravis Betak <travis.betak@amd.com>
Mon, 5 Mar 2007 22:21:50 +0000 (16:21 -0600)
committerTravis Betak <travis.betak@amd.com>
Mon, 5 Mar 2007 22:21:50 +0000 (16:21 -0600)
commit7f2e199b7bdf1d3d9a6e08906d8f2a767408fe98
tree30af66d1039f92a50583b1c57cfe6697e8e3dd95
parent70c72cc7b5d16bb06c3cb024a8f155b5436205c7
[SVM] Use svm_long_mode_enabled() when checking if guest is in long mode

This patch fixes the inconsistent method of checking if the guest is in
long mode (EFER.LMA == 1).

Signed-off-by: Travis Betak <travis.betak@amd.com>
xen/arch/x86/hvm/svm/emulate.c
xen/arch/x86/hvm/svm/svm.c
xen/include/asm-x86/hvm/svm/emulate.h
xen/include/asm-x86/hvm/svm/svm.h